﻿@{ 
   
    Layout = "~/Views/Shared/_rootLayout.cshtml";
   
}

@*<script>
var scriptString=@ViewData["scriptString"];
 if (scriptString=="1")
 {
     window.alert('您还未进行民主评议，请进行民主评议！'); 
     window.open('/ElingOA6_Admin_DSJCJ/Admin/PeerReviewScore')
 }
</script>*@

@Html.DevExpress().Splitter(settings =>
{
    settings.Name = "ContentSplitter";
    settings.Width = System.Web.UI.WebControls.Unit.Percentage(100);
    settings.Height = System.Web.UI.WebControls.Unit.Percentage(100);
    settings.Styles.Pane.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(0);
    settings.Styles.Pane.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);

    settings.Panes.Add(subpane =>
    {
        subpane.Name = "ContentLeft";
        subpane.PaneStyle.CssClass = "leftPane";
        subpane.ShowCollapseBackwardButton = DefaultBoolean.True;
        subpane.Size = System.Web.UI.WebControls.Unit.Pixel(190);
        subpane.PaneStyle.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(1);
        subpane.ScrollBars = System.Web.UI.WebControls.ScrollBars.Auto;
        subpane.SetContent("<iframe  id='contentleft' name='contentleft' style='width:100%;height:99%' frameborder='0' src='" + Url.Action("Left", "Index", new { fFunctNo = ViewData["fFunctNo"] }) + "'></iframe>");

    });

    settings.Panes.Add(subpane =>
    {
        
        @Html.DevExpress().Splitter(settingsContent =>
     {
         settingsContent.Name = "SubContentSplitter";
         settingsContent.AllowResize = false;
         settingsContent.Orientation = System.Web.UI.WebControls.Orientation.Vertical;
         settingsContent.FullscreenMode = true;
         settingsContent.Styles.Pane.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
         settingsContent.Styles.Pane.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(0);

         subpane.Panes.Add(subpaneContent =>
         {
             subpaneContent.Separator.Visible = DefaultBoolean.False;   
             subpaneContent.Name = "ContentBoardTop";
             subpaneContent.PaneStyle.CssClass = "headerPane";

             subpaneContent.Size = System.Web.UI.WebControls.Unit.Pixel(24);
             subpaneContent.MinSize = System.Web.UI.WebControls.Unit.Pixel(24);
             subpaneContent.PaneStyle.BorderBottom.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
             subpaneContent.PaneStyle.CssClass = "headerPane";
             subpaneContent.SetContent("<iframe  id='boardtop' name='boardtop' style='width:100%;height:100%' frameborder='0' src='" + Url.Action("BoardTop", "Index") + "'></iframe>");

         });

         subpane.Panes.Add(subpaneContent =>
         {
             subpaneContent.Separator.Visible = DefaultBoolean.False;   
             subpaneContent.Name = "ContentCenter";
             subpaneContent.PaneStyle.CssClass = "contentPane";
             subpaneContent.Separator.SeparatorStyle.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
             subpaneContent.Separator.SeparatorStyle.BorderTop.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
             subpaneContent.PaneStyle.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(0);
             subpaneContent.SetContent("<iframe  id='contentframe' name='contentframe' style='width:100%;height:100%' frameborder='0' src='/Index/AdminIndex'></iframe>");


         });


     }).GetHtml();


    });


}).GetHtml()
